package de.definitives.creoleconverter.document;

import de.definitives.creoleconverter.renderer.Renderer;

/**
 * Represents nowiki text as a block component.
 *
 * @author Christian Helmbold
 */
public class NowikiBlock implements Component, BlockElement {

    private String content;

    public NowikiBlock(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void renderWith(Renderer renderer) {
        renderer.render(this);
    }

}